/**
 * <copyright>
 * </copyright>
 *
 * 
 */
package edu.pku.sei.AMT.resource.amtscript.grammar;

public class AmtscriptCompound extends edu.pku.sei.AMT.resource.amtscript.grammar.AmtscriptSyntaxElement {
	
	public AmtscriptCompound(edu.pku.sei.AMT.resource.amtscript.grammar.AmtscriptChoice choice, edu.pku.sei.AMT.resource.amtscript.grammar.AmtscriptCardinality cardinality) {
		super(cardinality, new edu.pku.sei.AMT.resource.amtscript.grammar.AmtscriptSyntaxElement[] {choice});
	}
	
	public String toString() {
		return "(" + getChildren()[0] + ")";
	}
	
}
